package test3;

public class TaskAdd implements Runnable {
    public static int x=0;
    public void run(){
        for(int i=0;i<10;i++){
            x++;
            Thread.yield();
        }
    }
}
